import TableFieldType from '@/components/table/src/types/field-type';
import { TextTableField } from '@/components/table/src/components/text';
import { IconTableField } from '@/components/table/src/components/icon';
import { NumberTableField } from '@/components/table/src/components/number';
import { BooleanTableField } from '@/components/table/src/components/boolean';
import { TagTableField } from '@/components/table/src/components/tag';

export const tableFieldComponentMap = {
  [TableFieldType.TEXT]: TextTableField,
  [TableFieldType.NUMBER]: NumberTableField,
  [TableFieldType.BOOLEAN]: BooleanTableField,
  [TableFieldType.IMAGE]: TextTableField,
  [TableFieldType.ICON]: IconTableField,
  [TableFieldType.TAG]: TagTableField,
};
